import { SetMetadata } from '@nestjs/common';

export const Roles = (...roles: string[]) => SetMetadata('roles', roles);
export const ROLES_KEY = 'roles';
export enum Role {
    User  = 'user',
    Admin =  'admin'
}